


import { Row, Col, Tabs } from "antd"
import MyInfo from "./info"

import ChangePwd from "./changepwd";

const { TabPane } = Tabs

export default function Mine() {
  return (
    <div>
      <h2> 个人中心</h2>
      <Row className="" style={{ marginTop: 1, display: 'flex' }}>
        <Col className="" span={18} style={{ display: 'flex' }}>
          <Tabs defaultActiveKey="1" >
            <TabPane tab="个人信息" key="1">
              <MyInfo />
            </TabPane>
            <TabPane tab="修改密码" key="2">
              <ChangePwd />
            </TabPane>
          </Tabs>
        </Col>
      </Row>
    </div>
  )
}